package DBLayer;

/**
 * IFDBCustomer.java
 * @author Brian Lassen
 * @version 20. Marts 2012
 */
import ModelLayer.*;
import java.util.ArrayList;

public interface IFDBCustomer 
{
	    public ArrayList<Customer> getAllCustomer(boolean retriveAssociation);
	    public Customer findCustomer(int cusid, boolean retriveAssociation);
	    public Customer searchCustomerId(int id, boolean retriveAssociation);
	    public Customer searchCustomerFname(String fname, boolean retriveAssociation);
	    public Customer searchCustomerLname(String lname, boolean retriveAssociation);
	    public Customer searchCustomerAddress(String address, boolean retriveAssociation);
	    public Customer searchCustomerPhone(int phone, boolean retriveAssociation);
	    public int insertCustomer(Customer cust);
	    public int updateCustomer(Customer cust);
	    public int delete(int id);
}

